package com.talos.ums.controller.admin.usercarrier.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 用户承运商关联表新增/修改 Request VO")
@Data
public class UmsUserCarrierSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1113")
    private Long id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "18165")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @Schema(description = " 承运商id", requiredMode = Schema.RequiredMode.REQUIRED, example = "32522")
    @NotNull(message = " 承运商id不能为空")
    private Long carrierId;

}
